package com.huamoxi.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_role")
public class Role extends BaseEntity implements Serializable {

    // 主键
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    // 角色名称
    private String roleName;

    // 角色备注
    private String roleRemark;

    // 创建人id
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long createUserId;
}
